package com.gopay.common.cipher.vo;

import java.io.Serializable;

import com.gopay.common.cipher.constants.EncryptType;




/**
 * 
 * @ClassName: SecurityKeyInfo 
 * @Description: 密钥信息 
 * @author zyt
 * @date 2016年9月5日 下午1:23:41
 */
public class SecurityKeyInfo implements Serializable, Cloneable {

	/**
	 * @Fields serialVersionUID : version
	 */
	private static final long serialVersionUID = 1L;

	/*
	 * 加密方式
	 */
	private EncryptType encryptType;
	/*
	 * 密钥版本
	 */
	private String keyVersion;
	
	/**
	 * 密钥密文
	 */
	private String keyContent;
	/*
	 * 该密钥生成密文的前缀
	 */
	private String prefix;
	
	public EncryptType getEncryptType() {
		return encryptType;
	}

	public void setEncryptType(EncryptType encryptType) {
		this.encryptType = encryptType;
	}

	public String getKeyVersion() {
		return keyVersion;
	}

	public void setKeyVersion(String keyVersion) {
		this.keyVersion = keyVersion;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getKeyContent() {
		return keyContent;
	}

	public void setKeyContent(String keyContent) {
		this.keyContent = keyContent;
	}

	@Override
	public SecurityKeyInfo clone(){
		Object o=null;   
        try   
        {   
            o=super.clone();   
        }   
        catch(CloneNotSupportedException e)   
        {   
            System.out.println(e.toString());   
        }   
        return (SecurityKeyInfo)o;   
	}
	
}
